[INFO] cloning repository https://github.com/Nerixyz/rewards
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nerixyz/rewards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 616da642243fb5ac2b9a4dd61e32a16bf88bf20c
[INFO] documenting Nerixyz/rewards against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nerixyz/rewards on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Nerixyz/rewards
[INFO] finished tweaking git repo https://github.com/Nerixyz/rewards
[INFO] tweaked toml for git repo https://github.com/Nerixyz/rewards written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Nerixyz/rewards already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eba798db25284f3bbc124c50688634efd956e0c8d0e9de1f572f87077fab9765
[INFO] running `Command { std: "docker" "start" "-a" "eba798db25284f3bbc124c50688634efd956e0c8d0e9de1f572f87077fab9765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eba798db25284f3bbc124c50688634efd956e0c8d0e9de1f572f87077fab9765", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eba798db25284f3bbc124c50688634efd956e0c8d0e9de1f572f87077fab9765", kill_on_drop: false }`
[INFO] [stdout] eba798db25284f3bbc124c50688634efd956e0c8d0e9de1f572f87077fab9765
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0678555d7d10c9fc14d2d9b648327799f89d6cc73dc3bc793e7210166b47184
[INFO] running `Command { std: "docker" "start" "-a" "d0678555d7d10c9fc14d2d9b648327799f89d6cc73dc3bc793e7210166b47184", kill_on_drop: false }`
[INFO] [stderr]    Compiling rewards v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking config v0.1.0 (/opt/rustwide/workdir/config)
[INFO] [stderr]     Checking models v0.1.0 (/opt/rustwide/workdir/models)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         "SELECT 1 FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 14 | |         channel_id,
[INFO] [stdout] 15 | |         emote_id,
[INFO] [stdout] 16 | |         platform as _
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     sqlx::query!(
[INFO] [stdout] 31 | |         "INSERT INTO banned_emotes (channel_id, emote_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 32 | |         channel_id,
[INFO] [stdout] 33 | |         emote_id,
[INFO] [stdout] 34 | |         platform as _
[INFO] [stdout] 35 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query_scalar!(
[INFO] [stdout] 49 | |         "DELETE FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 50 | |         channel_id,
[INFO] [stdout] 51 | |         emote_id,
[INFO] [stdout] 52 | |         platform as _
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 23 | |             "UPDATE config SET value = $2 WHERE key = $1",
[INFO] [stdout] 24 | |             self.key,
[INFO] [stdout] 25 | |             Json(&self.value) as _
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:45:27
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let entry: Self = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 46 | |             ConfigEntry,
[INFO] [stdout] 47 | |             r#"
[INFO] [stdout] 48 | |             SELECT key, value as "value: Json<ConfigValue>"
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             key
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let settings = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 18 | |         DiscordUserSettings,
[INFO] [stdout] 19 | |         "SELECT * FROM discord_settings WHERE user_id = $1",
[INFO] [stdout] 20 | |         user_id
[INFO] [stdout] 21 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |       let url = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 31 | |         "SELECT url FROM discord_settings WHERE user_id = $1 AND log_emotes = true",
[INFO] [stdout] 32 | |         user_id
[INFO] [stdout] 33 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     sqlx::query_scalar!(
[INFO] [stdout] 43 | |         "INSERT INTO discord_settings (user_id, url) VALUES ($1, $2) ON CONFLICT (user_id) DO UPDATE SET url = excluded.url",
[INFO] [stdout] 44 | |         user_id, url
[INFO] [stdout] 45 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     sqlx::query_scalar!("DELETE FROM discord_settings WHERE user_id = $1", user_id)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:9:23
[INFO] [stdout]    |
[INFO] [stdout] 9  |           let editors = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 10 | |             // language=PostgreSQL
[INFO] [stdout] 11 | |             "
[INFO] [stdout] 12 | |                 SELECT editor_id
[INFO] [stdout] ...  |
[INFO] [stdout] 16 | |             broadcaster_id
[INFO] [stdout] 17 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let broadcasters = sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 26 | |             // language=PostgreSQL
[INFO] [stdout] 27 | |             "
[INFO] [stdout] 28 | |                 SELECT broadcaster_id
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             editor_id
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             User,
[INFO] [stdout] 47 | |             // language=PostgreSQL
[INFO] [stdout] 48 | |             "
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             broadcaster_id,
[INFO] [stdout] 56 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 69 | |             // language=PostgreSQL
[INFO] [stdout] 70 | |             "
[INFO] [stdout] 71 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |             broadcaster_id
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 90 | |             // language=PostgreSQL
[INFO] [stdout] 91 | |             "
[INFO] [stdout] 92 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |             broadcaster_name
[INFO] [stdout] 99 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 112 | |             // language=PostgreSQL
[INFO] [stdout] 113 | |             "
[INFO] [stdout] 114 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             editor_name
[INFO] [stdout] 119 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 134 | |             // language=PostgreSQL
[INFO] [stdout] 135 | |             "
[INFO] [stdout] 136 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |             editor_id
[INFO] [stdout] 141 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let logs = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 16 | |             Self,
[INFO] [stdout] 17 | |             "SELECT date, content FROM logs WHERE user_id = $1 ORDER BY date desc",
[INFO] [stdout] 18 | |             id
[INFO] [stdout] 19 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             "INSERT INTO logs (user_id, date, content) VALUES ($1, $2, $3)",
[INFO] [stdout] 30 | |             id,
[INFO] [stdout] 31 | |             Utc::now(),
[INFO] [stdout] 32 | |             content
[INFO] [stdout] 33 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 105 | |             Reward,
[INFO] [stdout] 106 | |             r#"
[INFO] [stdout] 107 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             id
[INFO] [stdout] 112 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 122 | |             Reward,
[INFO] [stdout] 123 | |             r#"
[INFO] [stdout] 124 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |             user_id
[INFO] [stdout] 129 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:143:41
[INFO] [stdout]     |
[INFO] [stdout] 143 |           let data: Vec<RewardDataOnly> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 144 | |             RewardDataOnly,
[INFO] [stdout] 145 | |             r#"
[INFO] [stdout] 146 | |             SELECT data as "data: Json<RewardData>"
[INFO] [stdout] ...   |
[INFO] [stdout] 151 | |             reward_type
[INFO] [stdout] 152 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:173:23
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 174 | |             LiveReward,
[INFO] [stdout] 175 | |             "
[INFO] [stdout] 176 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |             user_id
[INFO] [stdout] 181 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:193:23
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 194 | |             LiveReward,
[INFO] [stdout] 195 | |             "
[INFO] [stdout] 196 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |             user_id
[INFO] [stdout] 201 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:210:23
[INFO] [stdout]     |
[INFO] [stdout] 210 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 211 | |             LiveRewardAT,
[INFO] [stdout] 212 | |             r#"
[INFO] [stdout] 213 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | |             "#
[INFO] [stdout] 218 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 229 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 230 | |             self.id,
[INFO] [stdout] 231 | |             self.user_id,
[INFO] [stdout] 232 | |             Json(&self.data) as _,
[INFO] [stdout] 233 | |             self.live_delay
[INFO] [stdout] 234 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 246 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 247 | |             self.id,
[INFO] [stdout] 248 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 249 | |             self.live_delay
[INFO] [stdout] 250 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 266 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 267 | |             id,
[INFO] [stdout] 268 | |             unpause_at
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:280:17
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let _ = sqlx::query!("DELETE FROM rewards WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:302:9
[INFO] [stdout]     |
[INFO] [stdout] 302 | /         sqlx::query_as!(
[INFO] [stdout] 303 | |             RewardToUpdate,
[INFO] [stdout] 304 | |             "
[INFO] [stdout] 305 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 308 | |         "
[INFO] [stdout] 309 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO slots (user_id, reward_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 36 | |             user_id,
[INFO] [stdout] 37 | |             reward_id,
[INFO] [stdout] 38 | |             platform as _,
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let available = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 53 | |             Self,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |             user_id
[INFO] [stdout] 60 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 73 | |             "
[INFO] [stdout] 74 | |             SELECT count(*) FROM slots
[INFO] [stdout] 75 | |             WHERE reward_id = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             user_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 92 | |             "
[INFO] [stdout] 93 | |             SELECT count(*) FROM slots
[INFO] [stdout] 94 | |             WHERE platform = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             user_id
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let all = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 111 | |             Self,
[INFO] [stdout] 112 | |             r#"
[INFO] [stdout] 113 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             user_id
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let pending = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 128 | |             WHERE emote_id is not null AND expires is not null AND expires < (now() + '1 minute'::interval)
[INFO] [stdout] 129 | |         "#).fetch_all(pool).await?;
[INFO] [stdout]     | |___________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 141 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 142 | |             WHERE user_id = $1 AND lower(name) = lower($2)
[INFO] [stdout] 143 | |         "#, user_id, name).fetch_optional(pool).await?;
[INFO] [stdout]     | |__________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 157 | |             WHERE user_id = $1 AND emote_id = $2 and platform = $3
[INFO] [stdout] 158 | |         "#, user_id, emote_id, platform as _).fetch_optional(pool).await?;
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 166 | |             "
[INFO] [stdout] 167 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 168 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 169 | |         ",
[INFO] [stdout] 170 | |             user_id
[INFO] [stdout] 171 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 180 | |             "
[INFO] [stdout] 181 | |             SELECT name FROM slots
[INFO] [stdout] 182 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 183 | |         ",
[INFO] [stdout] 184 | |             user_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:193:22
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 194 | |             Self,
[INFO] [stdout] 195 | |             r#"
[INFO] [stdout] 196 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | |             user_id
[INFO] [stdout] 200 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 | /         sqlx::query!(
[INFO] [stdout] 209 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 210 | |             self.id,
[INFO] [stdout] 211 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 215 | |             self.added_at,
[INFO] [stdout] 216 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 | /         sqlx::query!(
[INFO] [stdout] 226 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 227 | |             id
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         sqlx::query!("DELETE FROM slots WHERE id = $1", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify WHERE user_id=$1", id)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let data = sqlx::query_as!(Self, "SELECT * FROM spotify")
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | /         sqlx::query!(
[INFO] [stdout] 45 | |             "
[INFO] [stdout] 46 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 47 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             refresh_token
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | /         sqlx::query!(
[INFO] [stdout] 61 | |             "UPDATE spotify SET access_token=$2 WHERE user_id=$1",
[INFO] [stdout] 62 | |             id,
[INFO] [stdout] 63 | |             access_token
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         sqlx::query!("DELETE FROM spotify WHERE user_id = $1", id,)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |             Self,
[INFO] [stdout] 86 | |             "SELECT only_while_live FROM spotify WHERE user_id=$1",
[INFO] [stdout] 87 | |             id
[INFO] [stdout] 88 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/spotify.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout] 97  | /         sqlx::query_as!(
[INFO] [stdout] 98  | |             Self,
[INFO] [stdout] 99  | |             "UPDATE spotify SET only_while_live = $2 WHERE user_id = $1",
[INFO] [stdout] 100 | |             user_id,
[INFO] [stdout] 101 | |             self.only_while_live
[INFO] [stdout] 102 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |             Self,
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |             platform as _
[INFO] [stdout] 34 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...   sqlx::query!("INSERT INTO swap_emotes (user_id, emote_id, platform, name, added_by, added_at) VALUES ($1, $2, $3, $4, $5, now())", user_id, emote_id, platform as _, name, added_by).ex...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         sqlx::query!("DELETE FROM swap_emotes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let count = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 68 | |             "
[INFO] [stdout] 69 | |             SELECT count(*)
[INFO] [stdout] 70 | |             FROM swap_emotes
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             platform as _
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 83 | |             Self,
[INFO] [stdout] 84 | |             r#"
[INFO] [stdout] 85 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |             name
[INFO] [stdout] 90 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |           let emote = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 104 | |             Self,
[INFO] [stdout] 105 | |             r#"
[INFO] [stdout] 106 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             platform as _
[INFO] [stdout] 112 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             sqlx::query_scalar!("SELECT name FROM swap_emotes WHERE user_id = $1", user_id,)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:129:22
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 130 | |             Self,
[INFO] [stdout] 131 | |             r#"SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at FROM swap_emotes WHERE user_id = $1"#,
[INFO] [stdout] 132 | |             user_id,
[INFO] [stdout] 133 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 147 | |             user_id,
[INFO] [stdout] 148 | |             platform as _
[INFO] [stdout] 149 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 42 | |             "INSERT INTO timed_modes (user_id, mode, end_ts) VALUES ($1, $2, $3) RETURNING id",
[INFO] [stdout] 43 | |             user_id,
[INFO] [stdout] 44 | |             mode as _,
[INFO] [stdout] 45 | |             end
[INFO] [stdout] 46 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |           let modes = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 56 | |             Self,
[INFO] [stdout] 57 | |             r#"
[INFO] [stdout] 58 | |             SELECT timed_modes.id as "id!", user_id as "user_id!", end_ts as "end_ts!", mode as "mode!: Mode", name as "user_name!"
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |         "#
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         sqlx::query!("DELETE FROM timed_modes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...User = sqlx::query_as!(User, "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users WHERE id = $1", id)
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 43 | |             User,
[INFO] [stdout] 44 | |             "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users"
[INFO] [stdout] 45 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 |           let names = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 54 | |             // language=PostgreSQL
[INFO] [stdout] 55 | |             "SELECT name FROM users"
[INFO] [stdout] 56 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let ids = sqlx::query_scalar!("SELECT id FROM users WHERE eventsub_id IS null")
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 75 | |             UserBttvData,
[INFO] [stdout] 76 | |             "SELECT id, bttv_id FROM users WHERE id = $1",
[INFO] [stdout] 77 | |             user_id
[INFO] [stdout] 78 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:87:20
[INFO] [stdout]    |
[INFO] [stdout] 87 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 88 | |             UserSevenTvData,
[INFO] [stdout] 89 | |             "SELECT id, name, seventv_id FROM users WHERE id = $1",
[INFO] [stdout] 90 | |             user_id
[INFO] [stdout] 91 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 102 | |             "
[INFO] [stdout] 103 | |             INSERT
[INFO] [stdout] 104 | |             INTO users (id, access_token, refresh_token, scopes, name)
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |             self.name
[INFO] [stdout] 114 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 131 | |             "UPDATE users SET access_token = $2, refresh_token = $3 WHERE id = $1",
[INFO] [stdout] 132 | |             id,
[INFO] [stdout] 133 | |             access_token,
[INFO] [stdout] 134 | |             refresh_token
[INFO] [stdout] 135 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 146 | |             "UPDATE users SET bttv_id = $2 WHERE id = $1",
[INFO] [stdout] 147 | |             user_id,
[INFO] [stdout] 148 | |             bttv_id
[INFO] [stdout] 149 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 159 | |             "UPDATE users SET seventv_id = $2 WHERE id = $1",
[INFO] [stdout] 160 | |             user_id,
[INFO] [stdout] 161 | |             seventv_id
[INFO] [stdout] 162 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let _ = sqlx::query!("DELETE FROM users WHERE id = $1", id)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:182:17
[INFO] [stdout]     |
[INFO] [stdout] 182 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 183 | |             "UPDATE users SET eventsub_id = $2 WHERE id = $1",
[INFO] [stdout] 184 | |             user_id,
[INFO] [stdout] 185 | |             eventsub_id
[INFO] [stdout] 186 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 195 | |             "UPDATE users SET eventsub_id = null WHERE eventsub_id = $1",
[INFO] [stdout] 196 | |             eventsub_id
[INFO] [stdout] 197 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:207:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |           let old_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 208 | |             "
[INFO] [stdout] 209 | |             UPDATE users
[INFO] [stdout] 210 | |             SET eventsub_id = null
[INFO] [stdout] ...   |
[INFO] [stdout] 214 | |             user_id
[INFO] [stdout] 215 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 76 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `models` due to 77 previous errors
[INFO] running `Command { std: "docker" "inspect" "d0678555d7d10c9fc14d2d9b648327799f89d6cc73dc3bc793e7210166b47184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0678555d7d10c9fc14d2d9b648327799f89d6cc73dc3bc793e7210166b47184", kill_on_drop: false }`
[INFO] [stdout] d0678555d7d10c9fc14d2d9b648327799f89d6cc73dc3bc793e7210166b47184
